{extend name="ashippingterminal/Public/base" /}
{block name="container"}
<!-- 标题 -->
<div class="page-heade">
    <h2 class="title_color text-center">导购目标申请</h2>
</div>
<!-- 标题 -->
<table class="table table-bordered text-center bud_hei" style="margin-bottom: 0">
    <tr>
        <td style="min-width: 160px;width: 160px">主题：</td>
        <td class="text-left" colspan="5">{$data.theme}</td>
    </tr>
    <tr>
        <td style="min-width: 160px;width: 160px">财年</td>
        <td class="text-left">{$data.year}</td>
        <td style="min-width: 160px;width: 160px">编号</td>
        <td class="text-left">{$data.no}</td>
        <td style="min-width: 160px;width: 160px">原申请编号</td>
        <td class="text-left">{$data.oldNo}</td>
    </tr>
    <tr>
        <td style="min-width: 160px;width: 160px">申请人</td>
        <td class="text-left">{$data.user}</td>
        <td style="min-width: 160px;width: 160px">状态</td>
        <td class="text-left" colspan="3">{$data.state}</td>
    </tr>
</table>
<table class="table table-bordered text-center bud_hei">

    <tr class="info">
        <td>No.</td>
        {volist name="title" id="vo"}
        <td>{$vo}</td>
        {/volist}
    </tr>
    <?php foreach($tmp as $key => $val){ ?>
    <tr>
        <td><?php echo $key+1; ?></td>
        <?php foreach($val as $k => $v){ ?>
        <td <?php if($k == 'money'){ echo 'class="ObjectNum">'.$v;}else{echo '>'.$v;} ?></td>
        <?php } ?>
    </tr>
    <?php } ?>
</table>
<script>
    $(document).ready(function(){
        var $ObjectNum =$(".ObjectNum");
        toNum($ObjectNum);
    })
</script>
{/block}
